package com.rybbaby.tss.platform.sysTableColumn.dao.imp;


import com.rybbaby.tss.core.web.dao.imp.GenericDao;
import com.rybbaby.tss.platform.sysTableColumn.dao.ISysTableColumnMappingDao;
import com.rybbaby.tss.platform.sysTableColumn.entity.SysTableColumnMapping;
import org.springframework.stereotype.Repository;

/**
 * @description 列映射数据库操作接口实现
 *
 * @author 谢进伟
 * 
 * @createDate 2016年2月23日 上午9:25:49
 */
@Repository
public class SysTableColumnMappingDaoImp extends GenericDao<SysTableColumnMapping> implements ISysTableColumnMappingDao {
	
	@Override
	public boolean deleteNotGenerateColumnMapping() {
		String hql = "DELETE FROM SysTableColumnMapping WHERE status=0";
		return this.executeHql(hql) > 0;
	}
	
}
